<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>Document</title>
		<style>
			.container {
				display: grid;
				/* 
					grid-template-columns: 100px 1fr 100px;
						第一列宽度100px
						第二列宽度自适应
						第三列宽度100px

					grid-template-rows: repeat(2, 100px);
						重复两行
				*/
				grid-template-columns: 100px 1fr 100px;
				grid-template-rows: repeat(2, 100px);
			}
		</style>
	</head>
	<body>
		<div class="container">
			<div class="item">1</div>
			<div class="item">2</div>
			<div class="item">3</div>
			<div class="item">4</div>
			<div class="item">5</div>
			<div class="item">6</div>
		</div>

		<script src="./js/itemRandomColor.js"></script>
	</body>
</html>
